package com.ruoyi.riskAssessment.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 危险源-事件后果严重性(S)对象 risk_event_consequences
 * 
 * @author lth
 * @date 2023-12-15
 */
public class RiskEventConsequences extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long schemeId;

    /** 法律、法规及其他要求 */
    @Excel(name = "法律、法规及其他要求")
    private String law;

    /** 人员伤亡 */
    @Excel(name = "人员伤亡")
    private String casualties;

    /** 直接经济损失 */
    @Excel(name = "直接经济损失")
    private String financialLoss;

    /** 停工 */
    @Excel(name = "停工")
    private String lockout;

    /** 企业形象 */
    @Excel(name = "企业形象")
    private String corporateImage;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private Long status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setSchemeId(Long schemeId) 
    {
        this.schemeId = schemeId;
    }

    public Long getSchemeId() 
    {
        return schemeId;
    }
    public void setLaw(String law) 
    {
        this.law = law;
    }

    public String getLaw() 
    {
        return law;
    }
    public void setCasualties(String casualties) 
    {
        this.casualties = casualties;
    }

    public String getCasualties() 
    {
        return casualties;
    }
    public void setFinancialLoss(String financialLoss) 
    {
        this.financialLoss = financialLoss;
    }

    public String getFinancialLoss() 
    {
        return financialLoss;
    }
    public void setLockout(String lockout) 
    {
        this.lockout = lockout;
    }

    public String getLockout() 
    {
        return lockout;
    }
    public void setCorporateImage(String corporateImage) 
    {
        this.corporateImage = corporateImage;
    }

    public String getCorporateImage() 
    {
        return corporateImage;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setSorting(Long sorting) 
    {
        this.sorting = sorting;
    }

    public Long getSorting() 
    {
        return sorting;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("score", getScore())
            .append("schemeId", getSchemeId())
            .append("law", getLaw())
            .append("casualties", getCasualties())
            .append("financialLoss", getFinancialLoss())
            .append("lockout", getLockout())
            .append("corporateImage", getCorporateImage())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .toString();
    }
}
